Public Class ArrayForm

  Private _test As String() = New String() {"David", "Ron", "Nick", "Woody", "Josh", "Barry"}

  Private Sub IsValidArrayButton_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles IsValidArrayButton.Click

    OutputTextBox.Text = String.Empty

    Try
      OutputTextBox.Text = dotNetTips.Utility.Collections.ArrayHelper.IsValidArray(Me._test).ToString
    Catch ex As Exception

    End Try


  End Sub

  Private Sub ConvertToStringButton_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles ConvertToStringButton.Click


    OutputTextBox.Text = String.Empty

    Try
      OutputTextBox.Text = dotNetTips.Utility.Collections.ArrayHelper.ConvertArrayToString(Me._test, Convert.ToChar("|"))
    Catch ex As Exception

    End Try

  End Sub
End Class